package com.lwz.laboratory.dao;

import com.lwz.laboratory.entity.Signup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface SignupMapper {
    int deleteByPrimaryKey(Integer signid);

    int insert(Signup record);

    int insertSelective(Signup record);

    Signup selectByPrimaryKey(Integer signid);

    int updateByPrimaryKeySelective(Signup record);

    int updateByPrimaryKey(Signup record);
    Signup selectBystuid(@Param("stuid") String stuid);

    List<Signup> findinwresult(@Param("stuid") String stuid);
    //查找全部报名信息
    List<Signup> findallsignforme(@Param("applicant") String applicant);
    //查找审核通过的报名信息
    List<Signup> findallpasssign(@Param("applicant") String applicant);


    List<Signup> findsignforme(@Param("stuid") String stuid);
}